#ifndef __XSIP_CONTENT_H__
#define __XSIP_CONTENT_H__
#include "xobject.h"

class XSIP_API XSIPContent : public XSIPObject {
public:
	enum {
		DEEP_COPY = 1,
		SHALLOW_COPY,
	};
	XSIPContent();
	virtual ~XSIPContent();
	virtual void* getObject(const char* name) const;
	virtual void copy(void* data, int size);
	virtual XSIPContent** divide(int step, int *size);
	void* getData();
	int getSize();
protected:
	int m_copyType;
	void* m_data;
	int m_size;
};

#endif